<%@ page import="java.util.Map" %><%--
  Created by IntelliJ IDEA.
  User: 橙子柚子。
  Date: 2018/4/24
  Time: 15:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户在线信息</title>
</head>
<body>
在线用户：
<table width="400" border="1">
    <%
           Map<String,String> online=(Map<String, String>)application.getAttribute("online");
        for(String sessionId:online.keySet())
            {%>
    <tr>
          <td><%=sessionId%>
          <td><%=online.get(sessionId)%>
    </tr>
            <%}
     %>
</body>
</html>
